<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>返回输出缓冲机制的嵌套级别</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.ob-get-level" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ob_get_level</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">ob_get_level</span> &mdash; <span class="dc-title">返回输出缓冲机制的嵌套级别</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.ob-get-level-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ob_get_level</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   返回输出缓冲机制的嵌套级别。
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ob-get-level-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   返回嵌套的输出缓冲处理程序的级别；或者是，如果输出缓冲区不起作用，返回零。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ob-get-level-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="ob_start.html" class="function" rel="rdfs-seeAlso">ob_start()</a> - 打开输出控制缓冲</span></li>
    <li class="member"><span class="function"><a href="ob_get_contents.html" class="function" rel="rdfs-seeAlso">ob_get_contents()</a> - 返回输出缓冲区的内容</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>